﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forest.Cat.Domain.Entities.Messages;
using Forest.Core;

namespace Forest.Cat.Domain.Services.Messages
{
    public interface IReceivedMessageService
    {
        void DeleteReceivedMessage(ReceivedMessage receivedMessage);

        ReceivedMessage GetReceivedMessageById(Guid receivedMessageId);

        IPagedList<ReceivedMessage> GetAllReceivedMessages(int pageIndex, int pageSize);

        void InsertReceivedMessage(ReceivedMessage receivedMessage);

        void UpdateReceivedMessage(ReceivedMessage receivedMessage);

        IQueryable<ReceivedMessage> GetReceivedMessagesByJobseekerId(Guid id);
    }
}
